/**
 * 
 */
package com.cuc.platform.core.domain.baseInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @author peepul
 *
 * 系统公共属性类型实体
 * 
 * sa_attr_type
 */
public class AttrType implements Serializable{
	private static final long serialVersionUID = 8698938341688800364L;
	
	private Long attrTypeId;//pk
	
	private String code;
	private String name;
	private Integer status;
	private String descn;
	private String tableName;
	private String settings;
	
	private List<Attr> attrs;

	public AttrType() {
		super();
	}

	/**
	 * @param attrId
	 * @param code
	 * @param name
	 */
	public AttrType(Long attrTypeId, String code, String name, Integer status) {
		super();
		this.attrTypeId = attrTypeId;
		this.code = code;
		this.name = name;
		this.status = status;
	}

	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}

	/**
	 * @param tableName the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	/**
	 * @return the settings
	 */
	public String getSettings() {
		return settings;
	}

	/**
	 * @param settings the settings to set
	 */
	public void setSettings(String settings) {
		this.settings = settings;
	}

	/**
	 * @return the attrTypeId
	 */
	public Long getAttrTypeId() {
		return attrTypeId;
	}

	/**
	 * @param attrTypeId the attrTypeId to set
	 */
	public void setAttrTypeId(Long attrTypeId) {
		this.attrTypeId = attrTypeId;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the descn
	 */
	public String getDescn() {
		return descn;
	}

	/**
	 * @param descn the descn to set
	 */
	public void setDescn(String descn) {
		this.descn = descn;
	}

	/**
	 * @return the attrs
	 */
	public List<Attr> getAttrs() {
		return attrs;
	}

	/**
	 * @param attrs the attrs to set
	 */
	public void setAttrs(List<Attr> attrs) {
		this.attrs = attrs;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}
